package com.csair.irp.job.file.parser.autogateway;



import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * 网关自动对接参数配置表
 * @author huangjun
 * @since 2017-11-24
 */
@TableName("t_autodocking_relationship")
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
public class AutodockingRelationshipPO extends Model<AutodockingRelationshipPO> {

	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;
	@TableField("upp_gateway_code")
	private String uppGatewayCode; // upp网关代码
	@TableField("ecs_gateway_code")
	private String ecsGatewayCode; // ecs网关代码
	@TableField("gateway_code")
	private String gatewayCode; // irp网关代码
	@TableField("business_number")
	private String businessNumber; // 商户号
	@TableField("type")
	private Integer type; // 类型
	@TableField("auto_docking")
	private Integer autoDocking; // 是否自动对接
	@TableField("bank_code")
	private String bankCode; // 银行代码
	@TableField("bank_name")
	private String bankName; // 银行
	@TableField("reconciliant")
	private String reconciliant; // 对账人
	@TableField("gateway_generation_file_time")
	private String gatewayGenerationFileTime; // 网关生成文件时间
	@TableField("liquidation_time")
	private String liquidationTime; // 清算时间
	@TableField("gateway_name")
	private String gatewayName; // 支付网关名称
	@TableField("settlement_cycle")
	private Integer settlementCycle; // 网关清算周期
	@TableField("data_resource_type")
	private String dataResourceType;  // 网关名称

	/**
	 *
	 * 表t_file_baseinfo的主键
	 */
//	@TableField("file_baseinfo_id")
	private transient String fileBaseinfoId;

	@Override
	protected Serializable pkVal() {
		return id;
	}
}
